<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!-- 
<link rel="stylesheet" type="text/css" href="styles.css">
 -->
<script src="js/jquery-1.4.4.js" language="javascript"></script>
<script type="text/javascript">

	$(document).ready(function(){
		$("#regBtn").click(function(){
			$("#regFromId").submit();
		});
	});

</script>


</head>
<body>
<form:form action="regDo.do" method="post" commandName="user" id="regFromId">
      <table>
          <tr>
              <td>User Id :</td>
              <td><form:input path="userId" /></td>
              <td><form:errors path="userId" /></td>
          </tr>
          <tr>
              <td>User Name :</td>
              <td><form:input path="userName" /></td>
              <td><form:errors path="userName" /></td>
          </tr>
          <tr>
              <td>User Pass:</td>
              <td><form:password path="userPass" /></td>
              <td><form:errors path="userPass" /></td>
              
          </tr>
          <tr>
              <td>User Pass Bak:</td>
              <td><form:password path="userPassBak" /></td>
              <td><form:errors path="userPassBak" /></td>
          </tr>
          <tr>
              <td>User Email:</td>
              <td><form:input path="userEmail" /></td>
              <td><form:errors path="userEmail" /></td>
          </tr>
          <tr>
              <td colspan="2">
                  <input type="button" id="regBtn" name="regBtn" value="保	存" />
              </td>
          </tr>
      </table>
  </form:form>
</body>
</html>